package org.qiyu.live.bank.constants;

/**
 * Created with IntelliJ IDEA.
 * Description:0待支付,1支付中,2已支付,3撤销,4无效
 * User: sfx
 * Date: 2023-11-07
 * Time: 15:21
 */
public enum PayOrderStatusEnum {
    UNPAID(0,"待支付"),
    DURING_PAY(1,"支付中"),
    HAVE_PAID(2,"已支付"),
    CANCEL(3,"撤销"),
    INVALID(4,"无效");

    final int code;
    final String desc;

    PayOrderStatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
